import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:namewava/jc_rote_path.dart';
import 'package:namewava/utils/jc_image_path.dart';
import 'package:namewava/utils/jc_screenutil_info.dart';

class JcCalendarWrite extends StatelessWidget {
  const JcCalendarWrite({super.key, required this.top});
  final double top;

  @override
  Widget build(BuildContext context) {
    return GestureDetector(child: Container(
      margin: EdgeInsets.only(
          top: top, bottom: 100 + JcScreenutilInfo.bottomBarHeight),
      child: Image.asset(JcImagePath.jcWavaBwlWrite),
    ),
    onTap: (){
      Get.toNamed(JcRotePath.jcBwl);
    },
    );
  }
}
